package com.flyco.modules.system.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 消息通知记录
 * @Author: flyco
 * @Date:   2024-06-19
 * @Version: V1.0
 */
@Data
@TableName("sys_msg_notice_record")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_msg_notice_record对象", description="消息通知记录")
public class SysMsgNoticeRecord {

	/**
	 * id
	 */
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private Long id;
	/**
	 * 消息通知id
	 */
	@Excel(name = "消息通知id", width = 15)
	@ApiModelProperty(value = "消息通知id")
	private Long noticeId;
	/**
	 * 经销商id
	 */
	@Excel(name = "经销商id", width = 15)
	@ApiModelProperty(value = "经销商id")
	private String storeId;
	/**
	 * 消息标题
	 */
	@Excel(name = "消息标题", width = 15)
	@ApiModelProperty(value = "消息标题")
	private String msgTitle;
	/**
	 * 查看状态：0.未查看 1.已查看
	 */
	@Excel(name = "查看状态：0.未查看 1.已查看", width = 15)
	@ApiModelProperty(value = "查看状态：0.未查看 1.已查看")
	private Integer viewedStatus;
	/**
	 * 查看人
	 */
	@Excel(name = "查看人", width = 15)
	@ApiModelProperty(value = "查看人")
	private String viewedBy;
	/**
	 * 查看时间
	 */
	@Excel(name = "查看时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "查看时间")
	private Date viewedTime;
	/**
	 * 创建人
	 */
	@Excel(name = "创建人", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建人")
	private Date createTime;
	/**
	 * 删除状态：0.未删除 1.已删除
	 */
	@Excel(name = "删除状态：0.未删除 1.已删除", width = 15)
	@ApiModelProperty(value = "删除状态：0.未删除 1.已删除")
	private Integer deleteStatus;

	@TableField(exist = false)
	@ApiModelProperty(value = "渠道ID")
	private String channelId;
	@TableField(exist = false)
	@ApiModelProperty(value = "渠道名称")
	private String channelName;
	@TableField(exist = false)
	@ApiModelProperty(value = "经销商编码")
	private String storeCode;
	@TableField(exist = false)
	@ApiModelProperty(value = "经销商名称")
	private String storeName;
}
